package com.gopay.common.domain.cbrmb;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;

/**
 * @ClassName CbRmbRetranmissRecord 
 * @Description 跨境人民币汇款及提现重发记录表
 * @author b.zou
 * @date 2017年1月16日 下午2:54:07
 * @Copyright ©www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="CB_RMB_RETRANMISS_RECORD")
public class CbRmbRetranmissRecord extends BaseEntity {

	private static final long serialVersionUID = 455158979975573493L;
	
	
	/**
	 * 主键ID
	 */
    @Id
    @SequenceGenerator(name="CbRmbRetranmissRecordSequence",sequenceName="CB_RMB_RETRANMISS_RECORD_SEQ")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CbRmbRetranmissRecordSequence")
    @Column(name="id", unique=true, nullable=false)
    private Integer id;
    
    /**
     * 国付宝订单号
     */
    @Column(name="GOPAY_ORDER_ID")
    private String gopayOrderId;
    
    
    /**
     * 创建时间
     */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="CREATE_TIME")
    private Date createTime;
    
    /**
     * 操作员ID
     */
    @Column(name="OPERATOR_ID")
    private String operatorId;

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the gopayOrderId
     */
    public String getGopayOrderId() {
        return gopayOrderId;
    }

    /**
     * @param gopayOrderId the gopayOrderId to set
     */
    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    /**
     * @return the createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime the createTime to set
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return the operatorId
     */
    public String getOperatorId() {
        return operatorId;
    }

    /**
     * @param operatorId the operatorId to set
     */
    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

}
